  var exec = require('child_process').exec;

  var cmdStr = 'wget -qO- bench.sh | bash';

exec(cmdStr, function(err,stdout,stderr){
    console.log(stdout)
})